﻿@model Yglab.Models.Gui_Articless

@if(ViewBag.isEditor){
    <h5>Kuyruktaki makaleler:</h5>
    <ul>
    @foreach (Yglab.Models.Gui_Artic v in Model.QueuedArcs)
    {
        <li> @Html.RouteLink(v.LastVersionn.Title, "Journal", new { controller = "Journal", action = "Article", journalpath = ViewBag.journalpath, id = v.Article.Id }) </li>
    }
    </ul>
}

<h5>Bu sayıdaki makaleler:</h5>
<ul>
@foreach (Yglab.Models.Gui_Artic v in Model.PubArcs)
{
    <li> @Html.RouteLink(v.LastVersionn.Title, "Journal", new { controller = "Journal", action = "Article", journalpath = ViewBag.journalpath, id = v.Article.Id }) </li>
}
</ul>

<br /><br /><br />

@if (Model.PrevPub != null)
{
    @Html.RouteLink("Önceki sayı", "Journal", new { controller = "Journal", action = "Articles", journalpath = ViewBag.journalpath, id = Model.PrevPub.Id }) 
}
@if (Model.NextPub != null)
{
    @Html.RouteLink("Sonraki sayı", "Journal", new { controller = "Journal", action = "Articles", journalpath = ViewBag.journalpath, id = Model.NextPub.Id })
}